import { useParams } from "react-router-dom";

function ProductDetail() {
	const { id } = useParams();

	return (
		<div>
			<h1>ProductDetail</h1>
			<h1>产品参数：{id}</h1>
			{JSON.stringify(useParams())}
		</div>
	);
}
export default ProductDetail;
